<template>
	<view class="parent">
		<view class="title"> 你的登录密码是？</view>

		<view style="margin-top: 20rpx;">
			<input class="input" v-model="data.passWord" type="text" placeholder=" 请输入登录密码" password/>
		</view>
		
		<z-register-bottom @next="next">
			<view></view>
		</z-register-bottom>
	</view>
</template>

<script>
import RouteUtil from '../../common/RouteUtil';
	export default {
		data() {
			return {
				data: {
					sex: '',
					nick: '',
					birthday: '',
					heightId: '',
					weightId: '',
					careerId: '',
					incomeId: '',
					tagIds:'',
					educId: '',
					headPicId: '',
					prId: '',
					cityId: '',
					distId: '',
					passWord:''
				},
			};
		},
		onLoad() {
			this.data = uni.getStorageSync('registerInfo');
		},
		methods: {
			next() {
				if (!this.data.passWord) {
					this.$common.showToast('请填写登录密码');
					return;
				}
				uni.setStorageSync('registerInfo', this.data);
				RouteUtil.toRegister1()
			}
		}
	};
</script>

<style lang="scss" scoped>
	.parent {
		padding: 0 50rpx;

		.title {
			font-weight: bold;
			font-size: 48rpx;
			color: #222;
			margin-top: 200rpx;
		}

		.input{
			border-bottom: 1rpx solid #ccc;
			font-size: 32rpx;
			color: #555;
			height: 50rpx;
			line-height: 50rpx;
			padding: 20rpx 0;
		}
	}
</style>